package com.ruoyi.seedlingSys.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 附件管理对象 attachment
 * 
 * @author ruoyi
 * @date 2025-03-11
 */
public class Attachment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 附件唯一标识 */
    private Long attachmentID;

    /** 关联的批次ID */
    @Excel(name = "关联的批次ID")
    private Long attachmentPatchID;

    /** 文件名称 */
    @Excel(name = "文件名称")
    private String attachmentFileName;

    /** 文件路径 */
    @Excel(name = "文件路径")
    private String attachmentFilePath;

    /** 文件类别 */
    @Excel(name = "文件类别")
    private String attachmentCategory;

    /** 项目编号 */
    @Excel(name = "项目编号")
    private String attachmentProjectNumber;

    /** 上传用户 */
    private String attachmentUploadUser;

    /** 上传时间 */
    private Date attachmentUploadTime;

    public void setAttachmentID(Long attachmentID) 
    {
        this.attachmentID = attachmentID;
    }

    public Long getAttachmentID() 
    {
        return attachmentID;
    }
    public void setAttachmentPatchID(Long attachmentPatchID) 
    {
        this.attachmentPatchID = attachmentPatchID;
    }

    public Long getAttachmentPatchID() 
    {
        return attachmentPatchID;
    }
    public void setAttachmentFileName(String attachmentFileName) 
    {
        this.attachmentFileName = attachmentFileName;
    }

    public String getAttachmentFileName() 
    {
        return attachmentFileName;
    }
    public void setAttachmentFilePath(String attachmentFilePath) 
    {
        this.attachmentFilePath = attachmentFilePath;
    }

    public String getAttachmentFilePath() 
    {
        return attachmentFilePath;
    }
    public void setAttachmentCategory(String attachmentCategory) 
    {
        this.attachmentCategory = attachmentCategory;
    }

    public String getAttachmentCategory() 
    {
        return attachmentCategory;
    }
    public void setAttachmentProjectNumber(String attachmentProjectNumber) 
    {
        this.attachmentProjectNumber = attachmentProjectNumber;
    }

    public String getAttachmentProjectNumber() 
    {
        return attachmentProjectNumber;
    }
    public void setAttachmentUploadUser(String attachmentUploadUser) 
    {
        this.attachmentUploadUser = attachmentUploadUser;
    }

    public String getAttachmentUploadUser() 
    {
        return attachmentUploadUser;
    }
    public void setAttachmentUploadTime(Date attachmentUploadTime) 
    {
        this.attachmentUploadTime = attachmentUploadTime;
    }

    public Date getAttachmentUploadTime() 
    {
        return attachmentUploadTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("attachmentID", getAttachmentID())
            .append("attachmentPatchID", getAttachmentPatchID())
            .append("attachmentFileName", getAttachmentFileName())
            .append("attachmentFilePath", getAttachmentFilePath())
            .append("attachmentCategory", getAttachmentCategory())
            .append("attachmentProjectNumber", getAttachmentProjectNumber())
            .append("attachmentUploadUser", getAttachmentUploadUser())
            .append("attachmentUploadTime", getAttachmentUploadTime())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
